package cn.edu.bs.web.vo;

import java.util.Date;

/**
 * @author bs
 */
public class BorrowVO implements BaseVO {

    private Integer borrowId;

    private Integer userId;

    private Integer bookId;

    private Date borrowTime;

    private Boolean isReturn;

    private UserVO userVO;

    private BookVO bookVO;

    private Boolean isUrged;

    public Boolean getIsUrged() {
        return isUrged;
    }

    public void setIsUrged(Boolean isUrged) {
        this.isUrged = isUrged;
    }

    public Integer getBorrowId() {
        return borrowId;
    }

    public void setBorrowId(Integer borrowId) {
        this.borrowId = borrowId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public Date getBorrowTime() {
        return borrowTime;
    }

    public void setBorrowTime(Date borrowTime) {
        this.borrowTime = borrowTime;
    }

    public Boolean getIsReturn() {
        return isReturn;
    }

    public void setIsReturn(Boolean isReturn) {
        this.isReturn = isReturn;
    }

    public UserVO getUserVO() {
        return userVO;
    }

    public void setUserVO(UserVO userVO) {
        this.userVO = userVO;
    }

    public BookVO getBookVO() {
        return bookVO;
    }

    public void setBookVO(BookVO bookVO) {
        this.bookVO = bookVO;
    }

    @Override
    public String toString() {
        return "BorrowVO{" +
                "borrowId=" + borrowId +
                ", userId=" + userId +
                ", bookId=" + bookId +
                ", borrowTime=" + borrowTime +
                ", isReturn=" + isReturn +
                ", userVO=" + userVO +
                ", bookVO=" + bookVO +
                '}';
    }
}
